package com.sporch.dao;

import com.sporch.model.EndpointRegistration;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @Author: czy
 * @Date: 2019/6/5 8:57
 */
public interface EndpointRegistrationRepository extends MongoRepository<EndpointRegistration,String> {
    /**
     * 根据端点id查询
     * @param endpointId
     * @return
     */
    public EndpointRegistration findByEndpointId(String endpointId);
}
